package object;

/**
 * 
 * @author wangweida
 * 2009-12-3
 */

public class Action{
	private int ActionID;
	private int BugID;
	private int ActionUserID;
	private int ActionType;
	private String ActionDate;
	private String ActionNote;
	
	private Action(){
		
	}
	
	private Action(int ActionID,int BugID,int ActionUserID,int ActionType,String ActionDate,String ActionNote){
		this.ActionDate=ActionDate;
		this.ActionID=ActionID;
		this.ActionNote=ActionNote;
		this.ActionType=ActionType;
		this.ActionUserID=ActionUserID;
		this.BugID=BugID;
	}
	
	public static Action getInstance(){
		return new Action();
	}
	public static Action getInstance(int ActionID,int BugID,int ActionUserID,int ActionType,String ActionDate,String ActionNote){
		return new Action(ActionID,BugID,ActionUserID,ActionType,ActionDate,ActionNote);
	}
	
	public void setActionID(int ActionID){
		this.ActionID=ActionID;
	}
	public int getActionID(){
		return this.ActionID;
	}
	
	public void setBugID(int BugID){
		this.BugID=BugID;
	}
	public int getBugID(){
		return this.BugID;
	}
	
	public void setActionUserID(int ActionUserID){
		this.ActionUserID=ActionUserID;
	}
	public int getActionUserID(){
		return this.ActionUserID;
	}
	
	public void setActionType(int ActionType){
		this.ActionType=ActionType;
	}
	public int getActionType(){
		return this.ActionType;
	}
	
	public void setActionDate(String ActionDate){
		this.ActionDate=ActionDate;
	}
	public String getActionDate(){
		return this.ActionDate;
	}
	public void setActionNote(String ActionNote){
		this.ActionNote=ActionNote;
	}
	public String getActionNote(){
		return this.ActionNote;
	}
	
}